﻿/**
 * ...
 * @author wangjun
 */
class cn.eminia.A2.utils.TxtDele extends MovieClip
{
	static var symbolName:String = "__Packages.cn.eminia.A2.utils.TxtDele";
	static var symbolOwner:Function = TxtDele;
	static var symbolLinked = Object.registerClass(symbolName, symbolOwner);
	
	public function TxtDele () 
	{
	}
	public static function create(tf:TextField):TxtDele {
		var dd:Number = tf._parent.getNextHighestDepth(); 
		var dele:TxtDele = TxtDele(tf._parent.attachMovie(symbolName, dd.toString(), dd));  
		dele._x = tf._x;
		dele._y = tf._y;   
		return dele;
	}
	public function dispose():Void {
		removeMovieClip(this);
		this = null;
		delete this;
	}
	
}